package com.example.take_out_dish.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.take_out_dish.dto.DishDTO;
import com.example.take_out_dish.entity.Category;
import com.example.take_out_dish.entity.Dish;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 菜品管理 服务类
 * </p>
 *
 * @author yyyyys
 * @since 2024-07-01
 */
public interface DishService extends IService<Dish> {

    Page<DishDTO> pageWithCategoryName(int page, int pageSize, String name, String categoryId, Integer status);

    void saveDish(Dish dish);

}

